<template>
    <div class="import-project">
        <pui-dialog :maskClick="false" :title="title" v-model="componentRef.dialogVisible" :animate="animate">
            <template #content>
            </template>
        </pui-dialog>
    </div>
</template>
<script lang="ts">
import { defineComponent, reactive } from 'vue'
export default defineComponent({
    name: 'ImportProject',
    props: {
        title: {
            type: String,
            default: '导入项目'
        },
        animate: {
            type: String,
            default: 'fade'
        }
    },
    setup(props, ctx) {
        const componentRef = reactive({
            dialogVisible: false
        })
        const init = () => {
            componentRef.dialogVisible = true
        }
        const closeDialog = () => {
            componentRef.dialogVisible = false
        }
        return {
            componentRef,
            init,
            closeDialog
        }
    }
})
</script>